<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="password-Type" password="text/html; charset=UTF-8">
<title>修改</title>
<link
	href="${pageContext.request.contextPath}/css/bootstrap.min.css?v=3.3.5"
	rel="stylesheet">
<link
	href="${pageContext.request.contextPath}/css/font-awesome.min.css?v=4.4.0"
	rel="stylesheet">
<link href="${pageContext.request.contextPath}/css/custom.css"
	rel="stylesheet">
<link href="${pageContext.request.contextPath}/css/animate.min.css"
	rel="stylesheet">
<link
	href="${pageContext.request.contextPath}/css/style.min.css?v=4.0.0"
	rel="stylesheet">
<script type="text/javascript" 
	src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script> 
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
<style type="text/css">
label {
	display: inline-block;
	padding: 0 10px;
	vertical-align: middle;
}

input {
	outline: none;
	border: 1px solid rgb(216, 216, 216);
	padding: 2px 10px 2px 10px;
}

input[type="text"],input[type="password"] {
	height: 30px;
	line-height: 30px;
	border-radius: 5px;
	padding: 0px 10px;
	vertical-align: middle;
	color: #666;
}

input[type="button"] {
	padding: 0px 10px;
	height: 40px;
}

.form-group {
	vertical-align: middle;
	padding: 10px 10px;
}

.text-center-1 {
	text-align: right;
}

.loginscreen.middle-box {
	width: 600px;
}
</style>

<script type="text/javascript">
		$(document).ready(function() {
			$(".i-checks").iCheck({
				checkboxClass : "icheckbox_square-green",
				radioClass : "iradio_square-green",
			});
		});
</script>
<script type="text/javascript">

</script>
</head>

<body class="gray-bg">
	<div class="middle-box text-center loginscreen   animated fadeInDown">
		<div>
			<h3>修改</h3>
			<span id="span" style="color:red;"> ${register_msg}</span>
			<form method="post"
					action="${pageContext.request.contextPath }/Hugong/update"
					 onsubmit="return validate()" enctype="multipart/form-data">
				<div class="form-group">
				<input type="hidden" name="id" value="${Hugong.id }">						
					
				</div>
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">账号</label>
					<div class="col-sm-8">
						<input type="text" class="form-control" id=""
							name="name" value="${Hugong.name }">
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">密码</label>
					<div class="col-sm-8">
						<input type="password" class="form-control" id="password"
							name="password" value="${Hugong.password }">
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">真实名称</label>
					<div class="col-sm-8">
						<input type="text" class="form-control" id="realname"
							name="realname" value="${Hugong.realname }">
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">联系方式</label>
					<div class="col-sm-8">
						<input type="text" class="form-control" id="phone"
							name="phone" value="${Hugong.phone }">
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">所在地址</label>
					<div class="col-sm-8">
						<input type="text" class="form-control" id="address"
							name="address" value="${Hugong.address }">
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">个人介绍</label>
					<div class="col-sm-8">
						<input type="text" class="form-control" id="introduce"
							name="introduce" value="${Hugong.introduce }">
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">年龄</label>
					<div class="col-sm-8">
						<input type="text" class="form-control" id="age"
							name="age" value="${Hugong.age }">
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">性别</label>
					<div class="col-sm-8">
						<select style="color:black" name="sex" id="">
								<option style="color:black" value="男">
									男
								</option>
								<option style="color:black" value="女">
									女
								</option>
						</select>
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">角色</label>
					<div class="col-sm-8">
						<select style="color:black" name="zt" id="">
								<option style="color:black" value="1">
									普通护工
								</option>
						</select>
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				<div class="form-group">
					<label for="" class="col-sm-4 control-label">头像</label>
					<div class="col-sm-8">
						<input type="file" name="picture"></input><br/>
					</div>
					<label for="" id="realname_prompt"
						class="col-sm-12 control-label text-center-1"></label>
				</div>
				
				
				<br />
				<br />
				<div class="form-group">
					<input type="submit" class="btn btn-primary block full-width m-b"
						value="修改" />
				</div>
			</form>

		</div>
	</div>
</body>

</html>